﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Eacademy.Domain.Models;
using SubSonic.Schema;

namespace Eacademy.Domain.Abstractions
{
    public interface IUserRepository
    {
        bool UserExist(string username);
        bool SetLastVisitDate(long userId);
        User GetUserByUsername(string username);
        User GetUserByUserId(long userId);
        User GetUserByStudentId(long studentId);
        User GetUserByMentorId(long mentorId);
        //List<UserViewModel> GetUsers();
        //List<UserViewModel> GetUsers(UserViewModel parameters);
        //List<UserViewModel> GetUsers(UserViewModel parameters, out int totalCount, bool count = true);

        bool ResetPassword(string password, int userId,string userPasswordSalt);


    }
}